package com.x.erp.model;

import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
/**
 * 车辆查询模板订阅表
 * @author pansong
 *
 */
@MappingTable(tableName = "ERP_CAR_SELECT_template")
public class CarSelectTemplate extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3793688547674493731L;

	@MappingColumn(columnName = "TEMPLATE_ID", columnPk = true, columnLength = 32)
	private String templateId;//模板id
	
	@MappingColumn(columnName = "TEMPLATE_KEY")
	private String templateKey;//键名(series_id,city_id,car_age_id,car_mileage_id)
	
	@MappingColumn(columnName = "TEMPLATE_VALUE")
	private String templateValue;//取值(车系id,城市id,车龄id,车辆行程id)
	
	@MappingColumn(columnName = "TEMPLATE_REMARK")
	private String templateRemark;//备注
	
	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;//车辆市场id
	
	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;//商铺id
	
	@MappingColumn(columnName = "USER_ID")
	private String userId;//创建人id
	
	@MappingColumn(columnName = "TEMPLATE_CREATE_TIME")
	private Date templateCreateTime;//创建时间
	
	@MappingColumn(columnName = "TEMPLATE_VALUES")
	private String templateValues;//分组查询出来的所有的值以逗号分隔如(2,4,5)

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	public String getTemplateKey() {
		return templateKey;
	}

	public void setTemplateKey(String templateKey) {
		this.templateKey = templateKey;
	}

	public String getTemplateValue() {
		return templateValue;
	}

	public void setTemplateValue(String templateValue) {
		this.templateValue = templateValue;
	}

	public String getTemplateRemark() {
		return templateRemark;
	}

	public void setTemplateRemark(String templateRemark) {
		this.templateRemark = templateRemark;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getTemplateCreateTime() {
		return templateCreateTime;
	}

	public void setTemplateCreateTime(Date templateCreateTime) {
		this.templateCreateTime = templateCreateTime;
	}

	public String getTemplateValues() {
		return templateValues;
	}

	public void setTemplateValues(String templateValues) {
		this.templateValues = templateValues;
	}
}
